<template>
  <view :style="themeColor">
    <view class="page">
      <view class="flex benben-position-layout flex flex-wrap align-center becomingAmember_flex_0"
        :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
        <view class='flex flex-wrap align-center justify-between flex-sub becomingAmember_fd0_0'>
          <view class='flex flex-wrap align-center becomingAmember_fd0_0_c0' @tap.stop="handleJumpDiy" data-type="back"
            data-url="1">
            <text class='fu-iconfont2  becomingAmember_fd0_0_c0_c0'>&#xE794;</text>
          </view>
          <view class='flex flex-wrap align-stretch justify-center'>
            <text class='becomingAmember_fd0_0_c1_c0'>会员权益</text>
          </view>
          <view class='flex flex-wrap align-center justify-end becomingAmember_fd0_0_c0'>
          </view>
        </view>

      </view>
      <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
      <!---flex布局flex布局开始-->
      <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout">
        <text class='becomingAmember_fd1_0'>借农具须知</text>
        <text class='becomingAmember_fd1_1'>这里是规则这里是规则这里是规则这里是规则这里是规
          则这里是规则这里是规则这里是规则这里是规则这里是
          规则这里是规则这里是规则这里是规则这里是规则这里
          是规则这里是规则这里是规则</text>
        <view class='flex flex-wrap align-center becomingAmember_fd1_2'>
          <text class='becomingAmember_fd1_2_c0'>会员卡有效期</text>
          <text class='becomingAmember_fd1_2_c1'>12个月</text>
        </view>
        <view class='flex flex-wrap align-center becomingAmember_fd1_3' @tap.stop="handleJumpDiy" data-type="navigateTo"
          :data-url="`/pages/my/memberNotice/memberNotice?rule=1`">
          <text class='becomingAmember_fd1_2_c0'>会员须知</text>
          <text class='becomingAmember_fd1_2_c1'>去查看</text>
          <image class='becomingAmember_fd1_3_c2' mode="aspectFit" :src='STATIC_URL+"37.png"'></image>
        </view>
        <view class='flex flex-wrap align-center becomingAmember_fd1_4'>
        </view>
        <text class='becomingAmember_fd1_0'>续费会员</text>
        <benben-select-diy ref="showSelectPopup1697523101202" class-name='flex align-center flex becomingAmember_fd1_6'
          :items.sync="member" v-model="member_value" :label.sync="member_label" default-type="id" default-label="name"
          :allow-cancel='true' type="radio" :disabled='false'>
          <template v-for='(item,key0) in member'>
            <view v-if="item.isSelected"
              class='flex flex-direction align-center justify-center flex becomingAmember_fd1_6_c0' :key="key0"
              @tap="$refs.showSelectPopup1697523101202.tapHandle(key0)">
              <view class='flex flex-wrap align-center'>
                <text class='becomingAmember_fd1_6_c0_c0_c0'>￥</text>
                <text class=' becomingAmember_fd1_6_c0_c0_c1'>
                  <text class=' becomingAmember_price1_fd1_6_c0_c0_c1'>{{ item.new_price | frontPrice }}</text>
                  <text class=' becomingAmember_price2_fd1_6_c0_c0_c1'>{{ item.new_price | laterPrice }}</text>
                </text>
              </view>
              <view class='flex flex-wrap align-center becomingAmember_fd1_6_c0_c1'>
                <text class='becomingAmember_fd1_6_c0_c1_c0'>{{item.old_price}}</text>
              </view>
              <view class='flex flex-wrap align-center justify-center becomingAmember_fd1_6_c0_c2'>
                <text class='becomingAmember_fd1_6_c0_c2_c0'>{{item.type}}</text>
              </view>
            </view>
            <view v-else class='flex flex-direction align-center justify-center flex becomingAmember_fd1_6_c1'
              :key="key0" @tap="$refs.showSelectPopup1697523101202.tapHandle(key0)">
              <view class='flex flex-wrap align-center'>
                <text class='becomingAmember_fd1_6_c0_c0_c0'>￥</text>
                <text class=' becomingAmember_fd1_6_c0_c0_c1'>
                  <text class=' becomingAmember_price1_fd1_6_c0_c0_c1'>{{ item.new_price | frontPrice }}</text>
                  <text class=' becomingAmember_price2_fd1_6_c0_c0_c1'>{{ item.new_price | laterPrice }}</text>
                </text>
              </view>
              <view class='flex flex-wrap align-center becomingAmember_fd1_6_c0_c1'>
                <text class='becomingAmember_fd1_6_c0_c1_c0'>{{item.old_price}}</text>
              </view>
              <view class='flex flex-wrap align-center justify-center becomingAmember_fd1_6_c0_c2'>
                <text class='becomingAmember_fd1_6_c0_c2_c0'>{{item.type}}</text>
              </view>
            </view>
          </template></benben-select-diy>
      </view>

      <!---flex布局flex布局结束-->
      <view class="flex flex-wrap align-stretch justify-center benben-position-layout flex becomingAmember_flex_2">
        <button class='becomingAmember_fd2_0' @tap.stop="handleJumpDiy" data-type="navigateTo"
          :data-url="`/pages/my/openingDetails/openingDetails`">立即续费</button>

      </view>
      <view :style="{height: '120rpx'}"></view>


    </view>
  </view>
</template>
<script>
  export default {
    components: {},


    data() {
      return {
        "member": [{
          "id": "1",
          "type": "月卡",
          "new_price": "99.00",
          "old_price": "￥129.00"
        }, {
          "id": "2",
          "type": "季卡",
          "new_price": "299.00",
          "old_price": "￥399.00"
        }, {
          "id": "3",
          "type": "年卡",
          "new_price": "799.00",
          "old_price": "￥1199.00"
        }],
        "member_value": "1",
        "member_label": "",
        "data": {
          "name": "",
          "id": "",
          "content": "",
          "cat_img": ""
        }
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {

    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {
      this.getMemberFunc()
    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //获取会员权益
      getMemberFunc() {

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: url(https://api.nongjugongxiang.com/nongju/images/36.png) no-repeat, #FFFFFF;
    background-size: 100% auto;
  }

  .becomingAmember_flex_0 {
    background: url(https://api.nongjugongxiang.com/nongju/images/36.png) no-repeat;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .becomingAmember_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333;
    line-height: 88rpx;
  }

  .becomingAmember_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
    font-weight: 600;
  }

  .becomingAmember_fd0_0_c0 {
    width: 120rpx;
  }

  .becomingAmember_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .becomingAmember_fd1_6_c1 {
    border: 1px solid #EEEEEE;
    background: #FFFFFF;
    border-radius: 24rpx 24rpx 24rpx 24rpx;
    width: 216rpx;
    height: 181rpx;
    position: relative;
    margin: 0rpx 17rpx 0rpx 0rpx;
  }

  .becomingAmember_fd1_6_c0_c2_c0 {
    color: #FFFFFF;
    font-size: 28rpx;
    font-weight: 500;
  }

  .becomingAmember_fd1_6_c0_c2 {
    background: #E63838;
    position: absolute;
    border-radius: 8rpx 8rpx 8rpx 8rpx;
    width: 76rpx;
    height: 40rpx;
    top: -18rpx;
    left: 66rpx;
    z-index: 0;
  }

  .becomingAmember_fd1_6_c0_c1_c0 {
    color: rgba(153, 153, 153, 1);
    font-size: 24rpx;
    font-weight: 400;
    text-decoration: line-through;
  }

  .becomingAmember_fd1_6_c0_c1 {
    margin: 16rpx 0rpx 0rpx 0rpx;
  }

  .becomingAmember_price2_fd1_6_c0_c0_c1 {
    font-size: 36rpx;
    color: rgba(230, 56, 56, 1);
    font-weight: 700;
  }

  .becomingAmember_price1_fd1_6_c0_c0_c1 {
    font-size: 36rpx;
  }

  .becomingAmember_fd1_6_c0_c0_c1 {
    color: rgba(230, 56, 56, 1);
    font-weight: 700;
    font-size: 36rpx;
  }

  .becomingAmember_fd1_6_c0_c0_c0 {
    color: rgba(230, 56, 56, 1);
    font-size: 24rpx;
    font-weight: 700;
  }

  .becomingAmember_fd1_6_c0 {
    border: 2px solid #E63838;
    background: #FFE6E6;
    border-radius: 24rpx 24rpx 24rpx 24rpx;
    width: 216rpx;
    height: 181rpx;
    position: relative;
    margin: 0rpx 17rpx 0rpx 0rpx;
  }

  ::v-deep .becomingAmember_fd1_6 {
    padding: 32rpx 13rpx 32rpx 32rpx;
  }

  .becomingAmember_fd1_4 {
    background: #F8F8F8;
    border-radius: 0rpx 0rpx 0rpx 0rpx;
    width: 750rpx;
    height: 16rpx;
  }

  .becomingAmember_fd1_3_c2 {
    width: 40rpx;
    height: 40rpx;
  }

  .becomingAmember_fd1_3 {
    margin: 0rpx 32rpx 0rpx 32rpx;
    padding: 32rpx 0rpx 32rpx 0rpx;
  }

  .becomingAmember_fd1_2_c1 {
    margin: 0rpx 0rpx 0rpx auto;
    color: #E63838;
    font-size: 28rpx;
    font-weight: 400;
  }

  .becomingAmember_fd1_2_c0 {
    color: #333333;
    font-size: 28rpx;
    font-weight: 400;
  }

  .becomingAmember_fd1_2 {
    border-bottom: 1px solid #eee;
    margin: 0rpx 32rpx 0rpx 32rpx;
    padding: 32rpx 0rpx 32rpx 0rpx;
  }

  .becomingAmember_fd1_1 {
    border-bottom: 1px solid #eee;
    margin: 16rpx 32rpx 0rpx 32rpx;
    color: #666666;
    font-size: 28rpx;
    font-weight: 400;
    padding: 0rpx 0rpx 32rpx 0rpx;
  }

  .becomingAmember_fd1_0 {
    margin: 32rpx 0rpx 0rpx 32rpx;
    color: #333333;
    font-size: 28rpx;
    font-weight: 500;
  }

  .becomingAmember_flex_2 {
    width: 750rpx;
    height: 120rpx;
    overflow: hidden;
    z-index: 10;
    bottom: calc(0rpx + var(--window-bottom));
  }

  .becomingAmember_fd2_0 {
    background: #E63838;
    border-radius: 44rpx 44rpx 44rpx 44rpx;
    width: 702rpx;
    line-height: 88rpx;
    font-size: 32rpx;
    color: #fff;
    height: 88rpx;
  }
</style>